// 用户信息接口
import Vue from 'vue'
import tools from './../utils/tools'
import {AjaxPlugin} from 'vux'


Vue.use(AjaxPlugin)

const SERVER = tools.baseUrl();
export default {
    SERVER,
    getUserInfo: (data) =>( AjaxPlugin.$http.post(`${SERVER}/user/info`+ '?' + data))  , // 获取用户个人信息
    optionbytypecode: (data) =>( AjaxPlugin.$http.post(`${SERVER}/sys/optionbytypecode`+ '?' + data))  , // 关于我们
    modifypwd: (data) =>( AjaxPlugin.$http.post(`${SERVER}/user/modifypwd`+ '?' + data))  , // 修改密码
}
